package com.example.loadbalancereureka;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Description:
 * @Author WuGang
 * @Date 2022/11/11 11:38
 * @Version 1.0
 */

@Controller
@RequestMapping("/api")  //要不要斜杠都没关系
public class ProducerController {

    @GetMapping("/test")
    @ResponseBody
    public String test() {
        return "ribbon.api.test.吃的透Loadbalancereureka";
    }
}
